package com.wangxiang.crawler.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * 
 * 
 * @author wangxiang
 * @email 2293672863@qq.com
 * @date 2022-04-07 21:18:21
 */
@Data
@TableName("shop_type")
public class ShopTypeEntity implements Serializable {
	private static final long serialVersionUID = 1L;


	@TableId
	private int id;

	private int level;

	private int parentId;

	private String name;

	private String image;

	private int status;
	@TableField(exist = false)
	private List<ShopTypeEntity> children;

}
